<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>index</title>
</head>
<body>

<div>
	<fmt:formatNumber value="12.31" pattern=".0000"/><br/>
	<fmt:formatNumber value="1234" pattern="###.##E0"/><br/>
	<fmt:parseNumber value="500,800,200"/><br/>
	<fmt:parseNumber value="52%" type="percent" /><br/>
	<fmt:parseNumber value="￥123" type="currency" /><br/>
	<fmt:parseNumber value="123.333" type="number" /><br/>
    <fmt:parseNumber value="123.333" type="number"  integerOnly="true"/><br/>
	
</div>
	
</body>
</html>